<template>
<section class="site-index">
  <div class="site-home-header">
    <img src="../../assets/icon/back.png" @click="back" class="header-back" alt="">
    安装人数字网络平台</div>
  <div class="site-intaller">
    <div class="item-mod">
      <div class="mod" @click="goPage('/cloud')">
        <img class="img" src="../../assets/icon/i1.png" alt="">
        <span class="text">云课堂</span>
      </div>
      <div class="mod" @click="goPage('/evaluation')">
        <img class="img" src="../../assets/icon/i2.png" alt="">
        <span class="text">企业能力评价</span>
      </div>
    </div>
    <div class="item-mod">
      <div class="mod" @click="goPage('/cost')">
        <img class="img" src="../../assets/icon/i3.png" alt="">
        <span class="text">造价信息服务</span>
      </div>
      <div class="mod" @click="goPage('/completion')">
        <img class="img" src="../../assets/icon/i4.png" alt="">
        <span class="text">竣工资料</span>
      </div>
    </div>
    <div class="item-mod">
      <div class="mod" @click="goPage('/bim')">
        <img class="img" src="../../assets/icon/i5.png" alt="">
        <span class="text">BIM</span>
      </div>
      <div class="mod" @click="goPage('/promotion')">
        <img class="img" src="../../assets/icon/i6.png" alt="">
        <span class="text">绿色促进中心</span>
      </div>
    </div>
    <div class="item-list" @click="goPage('/assess')">
      <span class="name">职称评定</span>
      <img src="../../assets/icon/arrow-r.png" class="ar" alt="">
    </div>
    <div class="item-list" @click="goPage('/record')">
      <span class="name">材料备案</span>
      <img src="../../assets/icon/arrow-r.png" class="ar" alt="">
    </div>
    <div class="item-list" @click="goPage('/excellence/index')">
      <span class="name">创优71条</span>
      <img src="../../assets/icon/arrow-r.png" class="ar" alt="">
    </div>
  </div>
</section>
</template>
<script>
export default {
  data () {
    return {
      news: []
    }
  },
  components: {
  },
  created () {
    this.getNewTitles()
  },
  computed: {
  },
  methods: {
    getNewTitles () {
      this.$http.getNewTitles({ top: 6 }).then(res => {
        this.news = res.data
      })
    },
    goPage (path) {
      this.$router.push({ path: path })
    },
    back () {
      this.$router.go(-1)
    }
  }
}
</script>
<style lang="scss">
</style>
